//
//  CMAdjustAngleInfo.h
//  BaseCamera
//
//  Created by jinbo on 2025/1/20.
//

#import <Foundation/Foundation.h>

/// 图片角度偏移
@interface CMAdjustAngleInfo : NSObject
/// 值是否有效, NO则需要重新获取, 获取到后此值设置为YES
@property (nonatomic, assign) BOOL isValid;
/// 偏移角度默认，正为顺时针，负为逆时针
@property (nonatomic, assign) NSInteger angle;
/// 横坐标偏移，正为向左，负为向右
@property (nonatomic, assign) NSInteger x;
/// 纵坐标偏移,正为向上，负为向下
@property (nonatomic, assign) NSInteger y;

- (instancetype)initWithIsValid:(BOOL)isValid angle:(NSInteger)angle x:(NSInteger)x y:(NSInteger)y;

@end

